package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 询价单对象 ci_inquiry
 * 
 * @author ruoyi
 * @date 2022-10-31
 */
@Data
@ApiModel(value = "询价单对象")
public class CiInquiryVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty(value = "id")
    private Long id;



    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date modifyTime;

    /** 创建人 */
    @Excel(name = "创建人")
    @ApiModelProperty(value = "创建人")
    private String creator;



    /** 询价编号 系统生成 */
    @Excel(name = "询价编号 系统生成")
    @ApiModelProperty(value = "询价编号 系统生成")
    private String inquiryNo;

    /** 用户身份标识 */
    @Excel(name = "用户身份标识")
    @ApiModelProperty(value = "用户身份标识")
    private String outerUnicId;




    /** 地址 */
    @Excel(name = "地址")
    @ApiModelProperty(value = "地址")
    private String address;

    /** 外部用户唯一id */
    @Excel(name = "外部用户唯一id")
    @ApiModelProperty(value = "外部用户唯一id")
    private String outerId;

    /** 联系次数 */
    @Excel(name = "联系次数")
    @ApiModelProperty(value = "联系次数")
    private Long quoteNum;





    /** 供应商名称入住企业名称 */
    @Excel(name = "供应商名称入住企业名称")
    @ApiModelProperty(value = "供应商名称入住企业名称")
    private String carrierName;

    /** 供应商编码入住企业编码 */
    @Excel(name = "供应商编码入住企业编码")
    @ApiModelProperty(value = "供应商编码入住企业编码")
    private String carrierCode;


    /** 询价状态审核状态 */
    @Excel(name = "询价状态审核状态")
    @ApiModelProperty(value = "询价状态审核状态")
    private String inquiryStatus;


    /** 竞价开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "竞价开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "竞价开始时间")
    private Date bidStartTime;

    /** 竞价结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "竞价结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "竞价结束时间")
    private Date bidEndTime;



    /** 被收藏次数 */
    @Excel(name = "被收藏次数")
    @ApiModelProperty(value = "被收藏次数")
    private Long lovedNumber;

    /** 数量 */
    @Excel(name = "数量")
    @ApiModelProperty(value = "数量")
    private String cargoNum;

    /** 特殊要求 */
    @Excel(name = "特殊要求")
    @ApiModelProperty(value = "特殊要求")
    private String specialRequest;

    /** 月结卡号 */
    @Excel(name = "月结卡号")
    @ApiModelProperty(value = "月结卡号")
    private String customerNo;

    /** 月结客户名称 */
    @Excel(name = "月结客户名称")
    @ApiModelProperty(value = "月结客户名称")
    private String customerName;

    /** 标题 */
    @Excel(name = "标题")
    @ApiModelProperty(value = "标题")
    private String inqueryTitle;

    /** 1本人2代替他人 */
    @Excel(name = "1本人2代替他人")
    @ApiModelProperty(value = "1本人2代替他人")
    private Integer inqueryType;

    /** 货物枚举编码 */
    @Excel(name = "货物枚举编码")
    @ApiModelProperty(value = "货物枚举编码")
    private String cargoCode;

    /** 货物枚举名称 */
    @Excel(name = "货物枚举名称")
    @ApiModelProperty(value = "货物枚举名称")
    private String cargoName;

    /** 货物美剧id */
    @Excel(name = "货物美剧id")
    @ApiModelProperty(value = "货物美剧id")
    private Long cargoId;

    /** 联系数量 */
    @Excel(name = "联系数量")
    @ApiModelProperty(value = "联系数量")
    private Integer contactsCount;

    /** 天数 */
    @Excel(name = "天数")
    @ApiModelProperty(value = "天数")
    private Integer days;

    /**  */
    @Excel(name = "")
    @ApiModelProperty(value = "")
    private String url;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("modifyTime", getModifyTime())
            .append("creator", getCreator())
            .append("inquiryNo", getInquiryNo())
            .append("outerUnicId", getOuterUnicId())
            .append("address", getAddress())
            .append("outerId", getOuterId())
            .append("quoteNum", getQuoteNum())
            .append("carrierName", getCarrierName())
            .append("carrierCode", getCarrierCode())
            .append("inquiryStatus", getInquiryStatus())
            .append("bidStartTime", getBidStartTime())
            .append("bidEndTime", getBidEndTime())
            .append("lovedNumber", getLovedNumber())
            .append("cargoNum", getCargoNum())
            .append("specialRequest", getSpecialRequest())
            .append("remark", getRemark())
            .append("customerNo", getCustomerNo())
            .append("customerName", getCustomerName())
            .append("inqueryTitle", getInqueryTitle())
            .append("inqueryType", getInqueryType())
            .append("cargoCode", getCargoCode())
            .append("cargoName", getCargoName())
            .append("cargoId", getCargoId())
            .append("contactsCount", getContactsCount())
            .append("days", getDays())
            .append("url", getUrl())
            .toString();
    }
}
